package com.tj.collection.controller.chatter.response;

import com.fqgj.common.api.ResponseData;
import com.kly.user.dto.chatter.Chatter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.List;

/**
 * @author linqu
 */
@ApiModel(value = "chatterRsp", description = "chatter列表")
public class ChatterListResponse implements ResponseData {

    @ApiModelProperty("chatter列表")
    private List<ChatterDto> list;
    @ApiModelProperty("总条数")
    private Integer totalCount;

    public ChatterListResponse(List<ChatterDto> list, Integer totalCount) {
        this.list = list;
        this.totalCount = totalCount;
    }

    public List<ChatterDto> getList() {
        return list;
    }

    public void setList(List<ChatterDto> list) {
        this.list = list;
    }

    public Integer getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(Integer totalCount) {
        this.totalCount = totalCount;
    }
}
